package com.chenye.base;

/**
 * @Auther:chenye
 * @Data:2018/6/26
 * @Description:
 */
public class TimeTest {
    public static void main(String[] args) {
        sayHello();
        sayHello2("hello world222222222");
    }
    public static void sayHello(){
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
    public static void sayHello2(String str){
        System.out.println(str);
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
